package com.tianji.api.client.aigc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * TODO
 *
 * @Author
 * @Date 2025-9-5 14:47
 */
@FeignClient(contextId = "aigc", value = "aigc-service", path = "/chat")
public interface AIGCClient {

    /**
     * 文本聊天
     * @param text
     * @return
     */
    @PostMapping("/text")
    public String text(@RequestBody String text);
}